//! 面包屑
<template>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item :to="{ path: '/' }">{{$t("common.home")}}</el-breadcrumb-item>
    <el-breadcrumb-item
      class="two"
      v-if="$store.state.app.local === 'English'"
    >{{$route.meta.parentName.en}}</el-breadcrumb-item>
    <el-breadcrumb-item class="two" v-else>{{$route.meta.parentName.cn}}</el-breadcrumb-item>
    <el-breadcrumb-item v-if="$store.state.app.local === 'English'">{{$route.meta.enName}}</el-breadcrumb-item>
    <el-breadcrumb-item v-else>{{$route.name}}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  name: 'my-bread'
}
</script>

<style scoped lang='scss'></style>
